/*
* $Id: SyncWriteData.h 347 2012-02-29 19:58:23Z volok-aleksej@yandex.ru $
*
* Copyright 2009-2011 by Volokitin Aleksey
* All rights reserved
*
*/
#ifndef _SYNC_WRITE_DATA_H_
#define _SYNC_WRITE_DATA_H_

#include "WizardStep.h"

class CComReader;

class CSyncWriteData : public CWizardStep, public INotifier
{
	CFont *m_fontHeader;
	CFont *m_font;
	CWizardStep* m_pNext;
	CComReader* m_pComReader;
	CListBox* m_log;
public:
	CSyncWriteData(CWizardStep* pBack, CWnd* pParentWnd);
	~CSyncWriteData();
public:
	virtual void Init(CPoint offset);
	virtual CWizardStep* Next();
	virtual CWizardStep* Back();
	virtual void Update();
	virtual void SendNotify(const std::tstring& strNotify);

	void SetWriteFamilies(const std::map<int, std::vector<int> >& aFamilies);
	void SetInterval(time_t begin, time_t end);
};

#endif/*_SYNC_WRITE_DATA_H_*/